class AirConditionerStatus {
  final String label;
  final String address;
  final bool status;

  const AirConditionerStatus({
    required this.label,
    required this.address,
    required this.status,
  });

  String get shortAddress {
    // Return last 4 characters of address
    return address.length > 4 ? address.substring(address.length - 4) : address;
  }
}